package edu.tyut.lingyunxing.dto;

import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * DateTime: 2025/6/25 - 13:07
 * Author: Ycs
 */
@Data
@Builder
public class FlightDTO {
    
    private Long id;
    
    // 起点
    private String fromAirport;
    
    // 终点
    private String toAirport;
    
    // 经济舱价格
    private Float economyPrice;
    
    // 商务舱价格
    private Float businessPrice;
    
    // 经济舱座位数
    private Integer economySeats;
    
    // 商务舱座位数
    private Integer businessSeats;
    
    // 起飞时间
    private LocalDateTime flyTime;
    
    // 到达时间
    private LocalDateTime endTime;
}
